package top.infopub.mgr.ic.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;

import top.infopub.mgr.ic.dao.ProgramPlanSubDao;
import top.infopub.mgr.ic.vo.ProgramPlanSubVo;
import top.infopub.model.ic.ProgramPlanSub;
import top.infopub.mgr.ic.service.ProgramPlanSubService;

import java.util.List;

@Service
public class ProgramPlanSubServiceImpl extends GenericServiceImpl<ProgramPlanSub, String> implements
		ProgramPlanSubService {

	@Autowired
	private ProgramPlanSubDao programPlanSubDao;
	
	@Override
	public GenericDao<ProgramPlanSub, String> getDao() {
		return programPlanSubDao;
	}

	@Override
	public List<ProgramPlanSubVo> selectByProgramPlanId(String programPlanId) {
		return programPlanSubDao.selectByProgramPlanId(programPlanId);
	}
}